package com.magicalcoder.youyamvc.app.goodsimg.dao;

import com.magicalcoder.youyamvc.app.model.defined.IntegerDate;
import com.magicalcoder.youyamvc.app.model.defined.IntegerObject;
import com.magicalcoder.youyamvc.app.model.GoodsImg;
import com.magicalcoder.youyamvc.app.model.defined.GoodsImgWithGoods;
import java.util.List;
import java.util.Map;

/**
* 代码为自动生成 Created by www.magicalcoder.com
* 如果你改变了此类 read 请将此行删除
* 欢迎加入官方QQ群:323237052
*/

public interface GoodsImgDao{
    GoodsImg getGoodsImg(Map<String, Object> query);
    List<GoodsImg> getGoodsImgList(Map<String, Object> query);
    Integer getGoodsImgListCount(Map<String, Object> query);
    Long  insertGoodsImg(GoodsImg entity);
    Long  replaceGoodsImg(GoodsImg entity);
    void batchInsertGoodsImg(List<GoodsImg> list);
    void batchReplaceGoodsImg(List<GoodsImg> list);
    void batchUpdateGoodsImg(List<GoodsImg> list);
    void updateGoodsImg(GoodsImg entity);
    void updateGoodsImgWithoutNull(GoodsImg entity);
    void updateGoodsImgByWhereSql(Map<String,Object> entity);

    List<GoodsImgWithGoods> getGoodsImgWithGoodsByGoodsIdList(Map<String, Object> query);

    void truncateGoodsImg();
    void deleteGoodsImg(Map<String, Object> query);
    void deleteGoodsImgList(Map<String, Object> query);
    void deleteGoodsImgByWhereSql(Map<String, Object> query);
    void batchDeleteGoodsImg(List<Long> list);
    void batchDeleteGoodsImgList(List<GoodsImg> entityList);
    List<IntegerDate> statisticsDateCountList(Map<String,Object> query);
    List<IntegerDate> statisticsDateIntervalList(Map<String,Object> query);
    List<IntegerObject> statisticsGroupList(Map<String,Object> query);
}
